// 生产制造模块路由配置
export default [
  {
    path: '/manufacturing/plan',
    name: 'ManufacturingPlan',
    component: () => import('@/views/manufacturing/ProductionPlan.vue'),
    meta: { title: '生产计划', requiresAuth: true }
  },
  {
    path: '/manufacturing/orders',
    name: 'ManufacturingOrders',
    component: () => import('@/views/manufacturing/ProductionOrders.vue'),
    meta: { title: '生产订单', requiresAuth: true }
  },
  {
    path: '/manufacturing/routing',
    name: 'ManufacturingRouting',
    component: () => import('@/views/manufacturing/ProcessRouting.vue'),
    meta: { title: '工艺路线', requiresAuth: true }
  },
  {
    path: '/manufacturing/work-orders',
    name: 'ManufacturingWorkOrders',
    component: () => import('@/views/manufacturing/WorkOrders.vue'),
    meta: { title: '工单管理', requiresAuth: true }
  },
  {
    path: '/manufacturing/material-requisition',
    name: 'MaterialRequisition',
    component: () => import('@/views/manufacturing/MaterialRequisition.vue'),
    meta: { title: '生产领料', requiresAuth: true }
  },
  {
    path: '/manufacturing/warehouse-in',
    name: 'ManufacturingWarehouseIn',
    component: () => import('@/views/manufacturing/ProductionWarehouseIn.vue'),
    meta: { title: '生产入库', requiresAuth: true }
  },
  {
    path: '/manufacturing/progress',
    name: 'ManufacturingProgress',
    component: () => import('@/views/manufacturing/ProductionProgress.vue'),
    meta: { title: '生产进度', requiresAuth: true }
  },
  {
    path: '/manufacturing/quality',
    name: 'QualityInspection',
    component: () => import('@/views/manufacturing/QualityInspection.vue'),
    meta: { title: '质量检验', requiresAuth: true }
  },
  {
    path: '/manufacturing/equipment',
    name: 'EquipmentManagement',
    component: () => import('@/views/manufacturing/EquipmentManagement.vue'),
    meta: { title: '设备管理', requiresAuth: true }
  },
  {
    path: '/manufacturing/capacity',
    name: 'CapacityAnalysis',
    component: () => import('@/views/manufacturing/CapacityAnalysis.vue'),
    meta: { title: '产能分析', requiresAuth: true }
  },
  {
    path: '/manufacturing/quality-management',
    name: 'QualityManagement',
    component: () => import('@/views/manufacturing/QualityManagement.vue'),
    meta: { title: '质量管理体系', requiresAuth: true }
  }
]

